home *** CD-ROM | disk | FTP | other *** search
- global gPuppetList, gParadePartsList
-
- on mouseUp
- PlaySound("ButtonClick")
- set currentMember to the number of the member of sprite the captainButton of gPuppetList
- cursor(4)
- repeat with N = 4 to 8
- set the visible of sprite N to 0
- end repeat
- if the name of member currentMember contains "add" then
- CreateCaptainAnimation()
- set the memberNum of sprite the captainButton of gPuppetList to currentMember + 1
- else
- DeleteCaptainFromScore()
- set the memberNum of sprite the captainButton of gPuppetList to currentMember - 1
- end if
- repeat with N = 4 to 8
- set the visible of sprite N to 1
- end repeat
- cursor(-1)
- updateStage()
- end
-